
from django.contrib import admin
from django.urls import path, re_path
from django.views import static
from siliTech import settings
from siliTechWeb import views as siliTechWebViews
from appBackend import urls as wxappBackendUrls
from django.conf.urls import handler404

handler404 = siliTechWebViews.custom_page_not_found

urlpatterns = [
    path("admin/", admin.site.urls),
    path("", siliTechWebViews.index),
    path("login/", siliTechWebViews.login),
    re_path(r'^static/(?P<path>.*)$', static.serve, {'document_root': settings.STATIC_ROOT}, name='static')
]

urlpatterns += wxappBackendUrls.urlpatterns
